package com.book.book.service;

import com.book.book.domain.BooklogDO;
import com.book.iphone.domain.AppraiseDo;
import com.book.iphone.domain.DriftDo;

import java.util.List;
import java.util.Map;

/**
 * 漂流记录表
 * 
 * @author siyuan
 * @email 894266364@qq.com
 * @date 2018-03-20 15:56:19
 */
public interface BooklogService {
	
	BooklogDO get(Integer id);
	
	List<BooklogDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(BooklogDO booklog);
	
	int update(BooklogDO booklog);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	List<DriftDo> getDrift(Map<String,Object> map);

	List<AppraiseDo> getBooklogByBookName(String bookName);

	List<AppraiseDo> getBooklogByBookNameNoLimit(String bookName);
}
